package com.btpj.hospital_server.mapper;

import com.btpj.hospital_server.entity.PowerRole;

import java.util.List;

public interface PowerRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PowerRole record);

    int insertSelective(PowerRole record);

    PowerRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PowerRole record);

    int updateByPrimaryKey(PowerRole record);

    List<PowerRole> getRolesByAccountId(Long accountId);
}